package com.ruoyi.test.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员信息对象 t_people
 * 
 * @author ruoyi
 * @date 2024-05-04
 */
public class People extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 证件号 */
    @Excel(name = "证件号")
    private String cardId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 创建 */
    @Excel(name = "创建")
    private String creatorId;

    /** 更新 */
    @Excel(name = "更新")
    private String updaterId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setCreatorId(String creatorId) 
    {
        this.creatorId = creatorId;
    }

    public String getCreatorId() 
    {
        return creatorId;
    }
    public void setUpdaterId(String updaterId) 
    {
        this.updaterId = updaterId;
    }

    public String getUpdaterId() 
    {
        return updaterId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardId", getCardId())
            .append("name", getName())
            .append("sex", getSex())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("creatorId", getCreatorId())
            .append("updaterId", getUpdaterId())
            .append("remark", getRemark())
            .toString();
    }
}
